// vim:set tabstop=4 shiftwidth=4 softtabstop=4 expandtab foldcolumn=1 foldmethod=marker foldclose=all:
/**
 * Project: 5anet
 * File:    src/com/m5anet/action/ShowIndex.java
 *
 * Show the home page
 *
 * the whole site entry, we will show the home page
 *
 * Author:      $Author: hylinux $
 * Date:        $Date: 2008-01-23 02:18:46 +0000 (Wed, 23 Jan 2008) $
 * Reversion:   $Rev: 13 $
 * Id:          $Id: ShowIndex.java 13 2008-01-23 02:18:46Z hylinux $
 */
package com.m5anet.action;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMessage;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;


public final class ShowIndex extends Action {
    
    /**
     * forward the request to home.jsp
     */
    public ActionForward execute(ActionMapping 
            mapping,
            ActionForm form,
            HttpServletRequest req,
            HttpServletResponse res ) throws Exception {

            return mapping.findForward("home");
    }
}



